package com.transaction.service;



import com.transaction.domain.Good;
import com.transaction.domain.Order;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface GoodService {

    public List<Good> findAllGood();

    public Good findOneGood(Good good);

    public List<Good> findGoodByType(Good good);

    public Boolean order(Order order);

    public Boolean addOneGood(Good good , MultipartFile img, String path);
}
